From: Richard M. Stallman Date: Tue, 25 May 1993 16:56:15 +0000 (+0000) Subject: (rmail-bury): Fix call to set-window-buffer. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~95977 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=b73e2d8498eaf4c93cec7873ec285b7d33c34c41;p=emacs.git (rmail-bury): Fix call to set-window-buffer. --- diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index e11d40a7097..6658185005d 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el @@ -1788,7 +1788,7 @@ the body of the original message; otherwise copy the current message." (if (rmail-summary-exists) (let (window) (while (setq window (get-buffer-window rmail-summary-buffer)) - (set-window-buffer (other-buffer rmail-summary-buffer))) + (set-window-buffer window (other-buffer rmail-summary-buffer))) (bury-buffer rmail-summary-buffer))) (switch-to-buffer (other-buffer (current-buffer))) (bury-buffer rmail-buffer)))